package routers

import (
	"MBTIx/handlers"

	"github.com/gin-gonic/gin"
)

func Auth_router(server *gin.Engine, auth gin.HandlerFunc) {
	users_grp := server.Group("/users")
	{
		users_grp.POST("/login", handlers.AuthHandler)
		users_grp.POST("/info",auth,handlers.Info)
	}
}
